package com.dgut.sales.dao;

import java.util.List;
import java.util.Map;

import com.dgut.sales.bean.Salesman;
import com.dgut.sales.dynamic.sql.bean.SalesmanSearch;

public interface SalesmanDao {
	public Salesman getSalesmanById(Integer id);
	public List<Salesman> getAllSalesman();
	public void addSalesman(Salesman salesman);
	public void updateSalesman(Salesman salesman);
	public void deleteSalesman(Integer id);
	public List<Salesman> search(SalesmanSearch salesmanSearch);
	public List<Map <String,Object>> SearchSalesmanWithMoney();
}
